package com.weiyuanstudio.nextstep.persistence.entity;

import com.weiyuanstudio.nextstep.enums.CollectionType;
import com.weiyuanstudio.nextstep.util.AbstractSnowflakePersistable;
import jakarta.persistence.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 动画
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = true)
public class Anime extends AbstractSnowflakePersistable {
    private String name;
    private String zhName;
    private CollectionType collectionType;
    private String bangumiId;
    private Integer watchedEpisode;
    private Integer episodeCount;
}
